Skip to content

fix(docker): assemble driver on the host for docker builds#1930

Merged
yury-s merged 2 commits into
microsoft:mainfrom
yury-s:fix-docker-driver-download
Jun 12, 2026
Merged

fix(docker): assemble driver on the host for docker builds#1930
yury-s merged 2 commits into
microsoft:mainfrom
yury-s:fix-docker-driver-download

Conversation

@yury-s

@yury-s yury-s commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

  • Since feat: assemble driver from npm instead of CDN #1927 download_driver.sh requires npm, which the docker image build doesn't have — Test (jammy/noble) jobs fail with npm: command not found.
  • Move the driver assembly out of the Dockerfiles into build.sh, which runs on the host where npm is available; the image picks up the assembled driver via the existing COPY . /tmp/pw-java.
  • Covers both the test workflow and publish_docker.sh, which funnel through build.sh.

yury-s added 2 commits June 12, 2026 13:02
The docker image build has neither npm nor curl, only wget. Resolve
the upstream gitHead via the npm registry HTTP API and fetch the
upstream build script through the existing wget-or-curl helper.
Revert the npm-free download in favor of calling download_driver.sh
from build.sh; the Dockerfile picks up the assembled driver via
'COPY . /tmp/pw-java'.
@yury-s yury-s changed the title fix(docker): download driver without npm and curl fix(docker): assemble driver on the host for docker builds Jun 12, 2026
@yury-s yury-s requested review from dcrousso and dgozman June 12, 2026 20:11
@yury-s yury-s merged commit e3f2f6f into microsoft:main Jun 12, 2026
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants